set the member of sprite the currentSpriteNum to member("SendUp")
put GetUserEmailPref(1) into field "From"
put GetUserEmailPref(2) into field "MailServer"
if (member("From").text = EMPTY) or (member("MailServer").text = EMPTY) then
openMessageWindow("ATTENZIONE! Impossibile rilevare l'account di posta elettronica." & RETURN && RETURN & "Il computer sembra non essere configurato correttamente per l'invio di e-mail.", "Impossibile inviare la e-mail", "Stop")
exit
end if
if member("from").text = EMPTY then
openMessageWindow("E' necessario inserire il nome del mittente nel campo" && QUOTE & "Mail From" & QUOTE & ".", "Galleria d'arte", "Warning")
the keyboardFocusSprite = 24
set the member of sprite the currentSpriteNum to member("SendUp")
set the member of sprite (the currentSpriteNum + 1) to member("StopDisabled")